<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/jsp/comm_css_include.jsp"%>
<!doctype html>
<html>
<head>

</head>
<body class="gray-bg">
<div class="container creditbody">
	<div class="iboxtitle">
		<span><i class="glyphicon glyphicon-map-marker"></i>&nbsp;&nbsp;贷中业务&nbsp;&gt;&nbsp;新车提车</span>
		<a href="javascript:void(0)"></a>
	</div>
	<div class="ibox-content ibox-con">
	<div class="buttonfixed">
       <button type="button" class="btn dpbtn_blue" id="saveLiftConfirmation">保存</button>
       <button type="button" class="btn dpbtn_blue" id="liftConfirmation">提交</button>
    </div>
		<form class="form-horizontal" id="commentForm">
		<%@include file="/jsp/common_yw_with_loan_include.jsp"%>
		<div class="business-manwife">提车信息</div>
		<div class="padding-nono">
			<table cellpadding="0" cellspacing="0" border="0" class="buyinfor-table">
				<tr>
					<td align="right">
						<label class="control-label np">提车时间：</label>
					</td>
					<td>
						<input id="pickCarId" name="pickCarId" value="${dzPickCar.id }" type="hidden" />
						<input id="pickCarTime" name="pickCarTime" class="smallicontm form-control" required="required" placeholder="提车时间(必填)" value="<fmt:formatDate value='${dzPickCar.pickCarTime }' pattern='yyyy-MM-dd HH:mm'/>" />
					</td>
				</tr>
			</table>
		</div>
		<!-- 车辆信息 -->
		<div class="business-manwife">车辆信息</div>
           	<div class="padding-nono">
		        <table cellpadding="0" cellspacing="0" border="0" class="buyinfor-table">
				<tr>	
					<td align="right">
						<label class="control-label np">车辆类别：</label>
					</td>
					<td>
						<mytag:selectTag id="categoryCar" name="categoryCar" map="${carCategoryType }" selected="${empty dzPickCar.categoryCar ? ywBusinessCar.categoryCar : dzPickCar.categoryCar}" others="class='select-control' required='required'"/>
					</td>
					
					<td align="right">
						<label class="control-label np">车辆颜色：</label>
					</td>
					<td>
						<mytag:selectTag id="colorCar" name="colorCar" map="${carColorType }" selected="${dzPickCar.colorCar }" others="class='select-control' required='required'"/>
					</td>
				</tr>
				<tr>
					<td align="right"><label class="control-label np">车辆车型：</label>
					</td>
					<td colspan="3">
						<input type="text" placeholder="请输入汽车品牌(必填)" required="required" id="carName" class="form-control smalliconcur smallicon" name="carName" value="${empty dzPickCar.nameCarModel ? ywBusinessCar.nameCarModel : dzPickCar.nameCarModel}" onclick="carcho(false,this.value);" /> 
						<input type="hidden" id="carModel" name="carModel" value="${empty dzPickCar.carModel ? ywBusinessCar.carModel : dzPickCar.carModel}" /> 
						<input id="carBrand" name="carBrand" type="hidden" value="${empty dzPickCar.carBrand ? ywBusinessCar.carBrand : dzPickCar.carBrand}" /> 
						<input id="carSeries" name="carSeries" type="hidden"  value="${empty dzPickCar.carSeries ? ywBusinessCar.carSeries : dzPickCar.carSeries}"/> 
						<input type="hidden" id="nameCarModel" name="nameCarModel" value="${empty dzPickCar.nameCarModel ? ywBusinessCar.nameCarModel : dzPickCar.nameCarModel}" /> 
						<input id="nameCarBrand" name="nameCarBrand" type="hidden"  value="${empty dzPickCar.nameCarBrand ? ywBusinessCar.nameCarBrand : dzPickCar.nameCarBrand}" /> 
						<input id="nameCarSeries" name="nameCarSeries" type="hidden" value="${empty dzPickCar.nameCarSeries ? ywBusinessCar.nameCarSeries : dzPickCar.nameCarSeries}" />
						<input id="carId" name="carId" type="hidden">
						<input id="priceNewcar"  type="hidden" />
					</td>
					<td align="right">
						<label class="control-label np">合格证号：</label>
					</td>
					<td>
						<input id="numQualified" required="required" placeholder="合格证号(必填)" name="numQualified" class="form-control" value="${dzPickCar.numQualified }" />
					</td>
				</tr>
				
				<tr>	
					<td align="right">
						<label class="control-label np">厂牌型号：</label>
					</td>
					<td>
						<input id="noticeModel" name="noticeModel" required="required" placeholder="厂牌型号(必填)" class="form-control" value="${dzPickCar.noticeModel }" />
					</td>
					
					<td align="right">
						<label class="control-label np">排量(L)：</label>
					</td>
					<td>
						<input id="displacement" name="displacement"   placeholder="排量 " class="form-control" value="${dzPickCar.displacement }" />
					</td>
					
					<td align="right">
						<label class="control-label np">功率：</label>
					</td>
					<td>
						<input id="power" name="power"  class="form-control"   placeholder="功率" value="${dzPickCar.power }" />
					</td>
				</tr>
				<tr>	
					<td align="right">
						<label class="control-label np">车架号：</label>
					</td>
					<td>
						<input id="vin" name="vin" class="form-control" onblur="changenumEngine();" required="required" placeholder="车架号(必填)" value="${empty dzPickCar.vin ? ywBusinessCar.vin : dzPickCar.vin}" />
					</td>
					
					<td align="right">
						<label class="control-label np">发动机号：</label>
					</td>
					<td>
						<input id="numEngine" name="numEngine"  required="required" placeholder="发动机号(必填)"  class="form-control"  value="${dzPickCar.numEngine }" />
					</td>
					
					<td align="right">
						<label class="control-label np">底盘后6位：</label>
					</td>
					<td>
						<input id="numChassisSix" name="numChassisSix" readonly="readonly" class="form-control" type="text" maxlength="6" minlength="6" required="required" placeholder="底盘后6位(必填)"  value="${dzPickCar.numChassisSix }" />
					</td>
				</tr>
				<tr>	
					<td align="right">
						<label class="control-label np">开票单位：</label>
					</td>
					<td>
						<input id="companyBill" name="companyBill" class="form-control" required="required" placeholder="开票单位(必填)" value="${dzPickCar.companyBill }" />
					</td>
					<td align="right">
						<label class="control-label np">发票日期：</label>
					</td>
					<td>
						<input id="dateBill" required="required" placeholder="发票日期(必填)" name="dateBill" class="smallicontm form-control" value="<fmt:formatDate value='${dzPickCar.dateBill }' pattern='yyyy-MM-dd'/>" />
					</td>
					
					<td align="right">
						<label class="control-label np">发票号：</label>
					</td>
					<td>
						<input id="numBill" name="numBill" required="required" placeholder="发票号(必填)"  class="form-control" value="${dzPickCar.numBill }" />
					</td>
				</tr>
				<tr>	
					<td align="right">
						<label class="control-label np">发票地区：</label>
					</td>
					<td>
						<input id="areaBill" name="areaBill" required="required" placeholder="发票地区(必填)" class="form-control" value="${dzPickCar.areaBill }" />
					</td>
					<td align="right">
						<label class="control-label np">开票价格：</label>
					</td>
					<td>
						<input id="price" required="required" readonly="readonly" placeholder="开票价格(必填)" name="price" class="form-control" value='<fmt:formatNumber type="number" value="${empty dzPickCar.price ? ywBusinessCar.price : dzPickCar.price}" pattern="0.00" maxFractionDigits="2"/>' />
					</td>
				</tr>
			</table>	
		</div>	 
		<div class="business-manwife">现场提车照</div>
        <div class="padding-nono">
    		<div class="zx-addimg">
	        	<ul id="TI_CHE_ZI_LIAO">
	        		<li class="firstMuliUploadButton zx-upimg"><img src="${basePath}/img/shangchuanzhaopian.png" width="110px" height="110px" class="zx-imgPre" style="display: block;" />
						<div class="img-layer">
							<div></div>
							<span filelabelLabelSpan="${attachmentLabelNames.TI_CHE_ZHAO }">${attachmentLabelNameValues.TI_CHE_ZHAO }</span>
						</div> 
						<a href="javascript:;" class="file" onclick="uploadFileClicked(this,'img');" modeId="${modeIDTypeNames.TC }" ulId="TI_CHE_ZI_LIAO" customLabel="true" isAdd="true" fileLabelLi="${attachmentLabelNames.TI_CHE_ZHAO }" defaltLabelNameLi="${attachmentLabelNameValues.TI_CHE_ZHAO }" subId="" ></a>
					</li>
	        	</ul>
        	</div>
    	</div>
    	<div class="business-manwife">车辆资料</div>
        <div class="padding-nono">
    		<div class="zx-addimg">
	        	<ul id="TI_CHE_QI_CHE_ZI_LIAO">
	        		<li><img
						filelabel="${attachmentLabelNames.TI_CHE_QI_CHE_FA_PIAO }"
						src="${basePath}/img/shangchuanzhaopian.png" width="110px"
						height="110px"
						class="zx-imgPre ${attachmentLabelNames.TI_CHE_QI_CHE_FA_PIAO }">
						<span
						filelabelDelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_FA_PIAO }"
						class="hidden bt-cancle glyphicon glyphicon-trash"
						onclick="deleleFileRecord(this,'${attachmentLabelNameValues.TI_CHE_QI_CHE_FA_PIAO }',false);"></span>
						<div class="img-layer">
							<div></div>
							<span
								filelabelLabelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_FA_PIAO }">${attachmentLabelNameValues.TI_CHE_QI_CHE_FA_PIAO }</span>
						</div>
						<div filelabelDiv="${attachmentLabelNames.TI_CHE_QI_CHE_FA_PIAO }"
							class="hidden button-des">
							<a type="button"
							class="abuttonStylele"  filelabelADown="${attachmentLabelNames.TI_CHE_QI_CHE_FA_PIAO }"
								download="shangchuanzhaopian.png"
								href="${basePath}/img/shangchuanzhaopian.png">下载</a> <a
							type="button" class="abuttonStyleri"  onclick="showImg(this);">详情</a>
						</div> <a href="javascript:void(0);" class="file"> <span>上传资料</span>
							<input type="file"
							accept="image/gif,image/jpeg,image/bmp,image/png,image/jpg"
							onchange="uploadFile(this,'${modeIDTypeNames.TC }','TI_CHE_QI_CHE_ZI_LIAO', false, false);" />
					</a></li>
	        		<li><img
						filelabel="${attachmentLabelNames.TI_CHE_QI_CHE_HE_GE }"
						src="${basePath}/img/shangchuanzhaopian.png" width="110px"
						height="110px"
						class="zx-imgPre ${attachmentLabelNames.TI_CHE_QI_CHE_HE_GE }">
						<span
						filelabelDelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_HE_GE }"
						class="hidden bt-cancle glyphicon glyphicon-trash"
						onclick="deleleFileRecord(this,'${attachmentLabelNameValues.TI_CHE_QI_CHE_HE_GE }',false);"></span>
						<div class="img-layer">
							<div></div>
							<span
								filelabelLabelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_HE_GE }">${attachmentLabelNameValues.TI_CHE_QI_CHE_HE_GE }</span>
						</div>
						<div filelabelDiv="${attachmentLabelNames.TI_CHE_QI_CHE_HE_GE }"
							class="hidden button-des">
							<a type="button"
							class="abuttonStylele"  filelabelADown="${attachmentLabelNames.TI_CHE_QI_CHE_HE_GE }"
								download="shangchuanzhaopian.png"
								href="${basePath}/img/shangchuanzhaopian.png">下载</a> <a
							type="button" class="abuttonStyleri"  onclick="showImg(this);">详情</a>
						</div> <a href="javascript:void(0);" class="file"> <span>上传资料</span>
							<input type="file"
							accept="image/gif,image/jpeg,image/bmp,image/png,image/jpg"
							onchange="uploadFile(this,'${modeIDTypeNames.TC }','TI_CHE_QI_CHE_ZI_LIAO', false, false);" />
					</a></li>
					<li><img
						filelabel="${attachmentLabelNames.TI_CHE_QI_CHE_BAO_DAN }"
						src="${basePath}/img/shangchuanzhaopian.png" width="110px"
						height="110px"
						class="zx-imgPre ${attachmentLabelNames.TI_CHE_QI_CHE_BAO_DAN }">
						<span
						filelabelDelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_BAO_DAN }"
						class="hidden bt-cancle glyphicon glyphicon-trash"
						onclick="deleleFileRecord(this,'${attachmentLabelNameValues.TI_CHE_QI_CHE_BAO_DAN }',false);"></span>
						<div class="img-layer">
							<div></div>
							<span
								filelabelLabelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_BAO_DAN }">${attachmentLabelNameValues.TI_CHE_QI_CHE_BAO_DAN }</span>
						</div>
						<div filelabelDiv="${attachmentLabelNames.TI_CHE_QI_CHE_BAO_DAN }"
							class="hidden button-des">
							<a type="button"
							class="abuttonStylele"  filelabelADown="${attachmentLabelNames.TI_CHE_QI_CHE_BAO_DAN }"
								download="shangchuanzhaopian.png"
								href="${basePath}/img/shangchuanzhaopian.png">下载</a> <a
							type="button" class="abuttonStyleri"  onclick="showImg(this);">详情</a>
						</div> <a href="javascript:void(0);" class="file"> <span>上传资料</span>
							<input type="file"
							accept="image/gif,image/jpeg,image/bmp,image/png,image/jpg"
							onchange="uploadFile(this,'${modeIDTypeNames.TC }','TI_CHE_QI_CHE_ZI_LIAO', false, false);" />
					</a></li>
					
					<li><img
						filelabel="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_1 }"
						src="${basePath}/img/shangchuanzhaopian.png" width="110px"
						height="110px"
						class="zx-imgPre ${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_1 }">
						<span
						filelabelDelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_1 }"
						class="hidden bt-cancle glyphicon glyphicon-trash"
						onclick="deleleFileRecord(this,'${attachmentLabelNameValues.TI_CHE_QI_CHE_DENGJIZHENG_1 }',false);"></span>
						<div class="img-layer">
							<div></div>
							<span
								filelabelLabelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_1 }">${attachmentLabelNameValues.TI_CHE_QI_CHE_DENGJIZHENG_1 }</span>
						</div>
						<div filelabelDiv="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_1 }"
							class="hidden button-des">
							<a type="button"
							class="abuttonStylele"  filelabelADown="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_1 }"
								download="shangchuanzhaopian.png"
								href="${basePath}/img/shangchuanzhaopian.png">下载</a> <a
							type="button" class="abuttonStyleri"  onclick="showImg(this);">详情</a>
						</div> <a href="javascript:void(0);" class="file"> <span>上传资料</span>
							<input type="file"
							accept="image/gif,image/jpeg,image/bmp,image/png,image/jpg"
							onchange="uploadFile(this,'${modeIDTypeNames.TC }','TI_CHE_QI_CHE_ZI_LIAO', false, false);" />
					</a></li>
					
					
					<li><img
						filelabel="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_2 }"
						src="${basePath}/img/shangchuanzhaopian.png" width="110px"
						height="110px"
						class="zx-imgPre ${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_2 }">
						<span
						filelabelDelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_2 }"
						class="hidden bt-cancle glyphicon glyphicon-trash"
						onclick="deleleFileRecord(this,'${attachmentLabelNameValues.TI_CHE_QI_CHE_DENGJIZHENG_2 }',false);"></span>
						<div class="img-layer">
							<div></div>
							<span
								filelabelLabelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_2 }">${attachmentLabelNameValues.TI_CHE_QI_CHE_DENGJIZHENG_2 }</span>
						</div>
						<div filelabelDiv="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_2 }"
							class="hidden button-des">
							<a type="button"
							class="abuttonStylele"  filelabelADown="${attachmentLabelNames.TI_CHE_QI_CHE_DENGJIZHENG_2 }"
								download="shangchuanzhaopian.png"
								href="${basePath}/img/shangchuanzhaopian.png">下载</a> <a
							type="button" class="abuttonStyleri"  onclick="showImg(this);">详情</a>
						</div> <a href="javascript:void(0);" class="file"> <span>上传资料</span>
							<input type="file"
							accept="image/gif,image/jpeg,image/bmp,image/png,image/jpg"
							onchange="uploadFile(this,'${modeIDTypeNames.TC }','TI_CHE_QI_CHE_ZI_LIAO', false, false);" />
					</a></li>
					
	        		<li class="firstMuliUploadButton zx-upimg"><img src="${basePath}/img/shangchuanzhaopian.png" width="110px" height="110px" class="zx-imgPre" style="display: block;" />
						<div class="img-layer">
							<div></div>
							<span filelabelLabelSpan="${attachmentLabelNames.TI_CHE_QI_CHE_ZI_LIAO }">${attachmentLabelNameValues.TI_CHE_QI_CHE_ZI_LIAO }</span>
						</div> 
						<a href="javascript:;" class="file" onclick="uploadFileClicked(this,'img');" modeId="${modeIDTypeNames.TC }" ulId="TI_CHE_QI_CHE_ZI_LIAO" customLabel="true" isAdd="true" fileLabelLi="${attachmentLabelNames.TI_CHE_QI_CHE_ZI_LIAO }" defaltLabelNameLi="${attachmentLabelNameValues.TI_CHE_QI_CHE_ZI_LIAO }" subId="" ></a>
					</li>
	        		
	        	</ul>
        	</div>
    	</div>
    	<!-- 当前经办人 -->
    	<%@include file="/jsp/comm_current_person_include.jsp"%>
	</form>
</div>	
	<!-- public quote -->
    <%@include file="/jsp/comm_js_include.jsp"%>
    <!-- 文件上传 -->
 	<%@include file="/jsp/common_fileupload_multi_include.jsp"%>
 	<!-- 车品牌/车型/车系选择 -->
 	<%@include file="/jsp/comm_js_carModel_include.jsp"%>
 	<!-- layerDate plugin javascript -->
    <script src="${basePath}/js/plugins/layer/laydate/laydate.js"></script>
    <!-- custom js -->
    <script type="text/javascript" src="${basePath}/js/commonvalidate.js?v=${empty cssVersion ? Math.random() : cssVersion }" charset="utf-8"></script>
    <%@include file="/jsp/carchoice_js_include.jsp"%>
    <script type="text/javascript">
		 $(function(){
				//外部js调用
			   laydate({
		            elem: '#pickCarTime',
		            format: 'YYYY-MM-DD hh:mm',
		            min: '1970-01-01 00:00', //设定最小日期为当前日期
		            max: '2099-12-31 23:59', //最大日期
		            istime: true,
		            istoday: true
		        });
			
		    	$("#commentForm").validate({
		            //重写showErrors
		            showErrors: function (errorMap, errorList) {
		                
		                $.each(errorList, function (i, v) {
		                    layer.tips(v.message, v.element, { time: 1500 });
		                    return false;
		                });  
		            },
		            /* 失去焦点时验证 */
		            onfocusout: function(element) { $(element).valid(); },
		            /*  键盘抬起不验证 */
		            onkeyup:false,
		        }); 
		    	
		    	$('#saveLiftConfirmation').click(function(){
		        	liftConfirmation(true);
		     	});
		    	
		    	 $('#liftConfirmation').click(function(){
			        	liftConfirmation();
			     });
		    	 
		        var dateBill = {
		    			  elem: '#dateBill', 
		  		          event: 'focus' ,
		    			  format: 'YYYY-MM-DD',
		    			  max: '2099-06-16', //最大日期
		    			  istime: true,
		    			  istoday: false
		    			};
		        laydate(dateBill);
			        
			    getData();
		    });
	    
	    //展示数据
	    function getData(){
	    	showAttentment($.getUrlData('id'), null, '${modeIDTypeNames.TC }');
	    }
	    
	    function changenumEngine(){
	    	var vin = $("#vin").val();
	    	var len = vin.length;
	    	var numChassisSix = vin.substring(len,len-6);
	    	$("#numChassisSix").val(numChassisSix)
	    }
	    
	    
	    //确认提车
	    function liftConfirmation(save){
	    	var data = {};
	    	var id = $('#pickCarId').val();
			data.save = save ? true : false;
	    	if(!save) { //提交
	    		var validstatus = $("#commentForm").valid();
		    	if(!validstatus) {	    	
		    		layer.msg("有验证未通过，请仔细检查！", {icon: 5});
		    		return;
		    	}	
	    		//提车照验证
		    	var ticheimg = $("#TI_CHE_ZI_LIAO").find("li:eq()").children("img").attr("src");
				var morenimg = "${basePath}/img/shangchuanzhaopian.png";
				if(morenimg==ticheimg || ticheimg==""){
					layer.msg("现场提车照没上传", {icon: 5});
					return;
				}
				
				//提车资料
				var ticheimg = $("#TI_CHE_QI_CHE_ZI_LIAO").find("li:eq(0)").children("img").attr("src");
				var morenimg = "${basePath}/img/shangchuanzhaopian.png";
				if(morenimg==ticheimg || ticheimg==""){
					layer.msg("发票资料没上传", {icon: 5});
					return;
				}
				
				var ticheimghg = $("#TI_CHE_QI_CHE_ZI_LIAO").find("li:eq(1)").children("img").attr("src");
				var morenimghg = "${basePath}/img/shangchuanzhaopian.png";
				if(morenimghg ==ticheimghg || ticheimghg==""){
					layer.msg("合格证没上传", {icon: 5});
					return;
				}
				
				var ticheimgbd = $("#TI_CHE_QI_CHE_ZI_LIAO").find("li:eq(2)").children("img").attr("src");
				var morenimgbd = "${basePath}/img/shangchuanzhaopian.png";
				if(morenimgbd ==ticheimgbd || ticheimgbd==""){
					layer.msg("保单没上传", {icon: 5});
					return;
				}
	    	}
	    	data.id = id;
	    	//提车信息
			data.pickCarTime = $('#pickCarTime').val();
			data.busiId = $("#busiId").val();
			data.cusId = $("#customerId").val();
	 		data.categoryCar = $("#categoryCar").val();
			data.colorCar = $('#colorCar').val();
			data.numQualified = $('#numQualified').val();
			
			data.carName = $("#carName").val() ;
			data.carBrand = $("#carBrand").val() ;
			data.nameCarBrand = $("#nameCarBrand").val();
			data.carSeries = $("#carSeries").val();
			data.carModel = $("#carModel").val();
			data.nameCarSeries = $("#nameCarSeries").val();
			data.nameCarModel = $("#nameCarModel").val();
			data.carId = $("#carId").val();
			
			data.noticeModel = $('#noticeModel').val();
			data.displacement = $('#displacement').val();
			data.power = $('#power').val();
			data.vin = $('#vin').val();
			data.numEngine = $('#numEngine').val();
			data.numChassisSix = $('#numChassisSix').val();
			data.companyBill = $('#companyBill').val();
			data.dateBill = $('#dateBill').val();
			data.numBill = $('#numBill').val();
			data.areaBill = $('#areaBill').val();
			data.price = $('#price').val();
			
			if(!save) {
				layer.confirm('您确认要提交提车信息吗？操作人：<span style="color:#BD1723;">${current_user_key.uname}</span>', {
		  			  btn: ['确定','取消'] //按钮
				},function(){
					layer.closeAll();
					$.dpAjax({
		 	    		url:'${basePath}/DzPickCarController/liftConfirmation',
		     			data:data,
		     			success: function(datas){
		     				 layer.msg("执行成功！", {icon: 6,time:3000});
		     				 setTimeout(function(){
		     					location.href='${basePath}/web/system/loaning/liftConfirmation.jsp'; 
		     				 },3000);
		                 }
		 	    	});
				})
			}else{
				$.dpAjax({
	 	    		url:'${basePath}/DzPickCarController/liftConfirmation',
	     			data:data,
	     			success: function(datas){
	     				 layer.msg("执行成功！", {icon: 6,time:3000});
	     				 $('#pickCarId').val(datas.result);
	                 }
	 	    	});
			}	
	    }
    </script>
</body>
</html>
